﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace POSPlus.EZBarTender
{
    public partial class CurrentFutureDialog : Form
    {
        public CurrentFutureDialog()
        {
            InitializeComponent();
        }

        public CurrentFutureDialog(string leftButton, string rightButton)
        {
            InitializeComponent();
            _btnCurrent.Text = leftButton;
            _btnFuture.Text = rightButton;
        }

        static public DialogResult ShowDialog(string leftButton, string rightButton)
        {
            using (CurrentFutureDialog dialog = new CurrentFutureDialog(leftButton, rightButton))
            {
                return dialog.ShowDialog();
            }
        }
    }
}
